﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WarehouseManagement.BusinessLogic.DTO
{
    public class MerchandiseDebitDTO
    {
        public string DocumentNumber { get; set; }
        public DateTime Date { get; set; }
        public int PartnerId { get; set; }
        public string PartnerName { get; set; }
        public decimal Debt { get; set; }
        public decimal Paid { get; set; }
        public bool IsPO { get; set; }
        public decimal RemainDebt {
            get {
                return Debt - Paid;
            }
        }
        public int CurrencyId { get; set; }
        public string CurrencyName { get; set; }
        public decimal ExchangeRate { get; set; }
        public string Notes { get; set; }
        public ArrayList DetailsInfomation { get; set; }

        public MerchandiseDebitDTO()
        {
            DetailsInfomation = new ArrayList();
        }
    }
}
